<?php

class AppSetting extends CComponent{
	static public function getValue($key){
		$sysSetting = SysSetting::model()->findByPk($key);		
		return $sysSetting["value"];		
	} 
}

?>